import { ErrorMessageMode } from '/#/axios';
import { defHttp } from '/@/utils/http';
import { SeriesItem } from '/@/api/verse/model/seriesModel';

enum Api {
  SeriesList = '/tool/dnm/series-list',
}

// 获取卡牌列表
export function SeriesListApi(model: ErrorMessageMode = 'dialog') {
  return defHttp.post<SeriesItem[]>(
    {
      url: Api.SeriesList,
      data: {},
    },
    {
      errorMessageMode: model,
    }
  );
}
